/** Created by CUIJA on 05-19-2017.*/
function navMenuService() {
  var svc = this;
  svc.menus = [
    {
      state: 'home',
      displayName: 'Home'
    }
  ];

  function addMenu(menu) {
    svc.menus.push(menu);
  }

  function getMenus() {
    return svc.menus;
  }

  function  deleteMenu(menu) {

  }

  return {
      getMenus: getMenus,
      addMenu: addMenu,
      deleteMenu: deleteMenu
  }
}
module.exports = navMenuService;